﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace HotelManageSystem.Domain.Entities
{
    /// <summary>
    /// Class Name:     Department
    /// Author:         Wangzx
    /// Creation Date:  2011-12-29
    /// Description:    部门（部门编号、部门名称、备注）
    /// QA:             
    /// -----------------------------------------
    /// </summary>
    public class Department
    {
        [Key]
        public int ID { get; set; }

        [Required]
        public string Name { get; set; }

        public string Remark { get; set; }

        public virtual ICollection<Employee> EmployeeCollection { get; set; }

    }
}
